using Godot;

public class BattleMapCellData
{
  public int X;
  public int Y;
  public int SourceId;
  public Vector2I AtlasCoords;
  public int BaseCost;

  public BattleMapCellData(int x, int y, int sourceId, Vector2I atlasCoords, int cost = 0)
  {
    X = x;
    Y = y;
    SourceId = sourceId;
    AtlasCoords = atlasCoords;
    BaseCost = cost;
  }

  public static BattleMapCellData Init(int x, int y, int sourceId, Vector2I atlasCoords, int cost = 0)
  {
    return new BattleMapCellData(x, y, sourceId, atlasCoords, cost);
  }
  public static BattleMapCellData Init(Vector2I pos, int sourceId, Vector2I atlasCoords, in int cost = 0)
  {
    return new BattleMapCellData(pos.X, pos.Y, sourceId, atlasCoords, cost);
  }

  private string GetDebuggerDisplay()
  {
    return ToString();
  }

}